package com.zg.common.core.dao.apis;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zg.common.core.dao.IDao;
import com.zg.common.core.dao.apis.entity.ApiService;
import com.zg.common.core.dao.apis.mapper.ApiServiceMapper;
import org.springframework.stereotype.Service;

/**
 * @author zxb
 */
@Service
public class ApiServiceDao extends ServiceImpl<ApiServiceMapper, ApiService> implements IDao<ApiService> {

    public Page<ApiService> pageService(Page<ApiService> page,
                                  LambdaQueryWrapper<ApiService> wrapper){
        return getBaseMapper().page(page,wrapper);
    }
}
